// 实例化vue对象
new Vue({
    el: "#vue-app",
    data: {
        name: "lzh",
        job: "学生",
        website: "http://www.baidu.com",
        websiteTag: "<a href='http://www.baidu.com'>绑定到标签</a>"
    },
    methods: {
        greet: function (time) {
            return "Good " + time + " ," + this.name + " !";
        }
    }
});
/*
    el: element,元素,这里指HTML中的根容器
    data: 用于数据的存储
    methods: 用于方法的存储
 */